package com.appspot.didit.client.workitem;

import com.appspot.didit.client.BaseView;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

public class WorkitemManageView extends Composite implements WorkitemManagePresenter.View {
	
	VerticalPanel panel;
	
    public WorkitemManageView() {
    	 panel = new VerticalPanel();
    	 initWidget(panel);
    }

    public Widget getWidget() {
            return this;
    }

    public void reset() {
    	panel.clear();
    }

	public void addCreateWorkitem(BaseView view) {
		panel.add(view.getWidget());
		
	}

	public void addWorkitemList(BaseView view) {
		panel.add(view.getWidget());
	}
	
	public void addTagCloud(BaseView view) {
		//panel.add(view.getWidget());
	}
    
	


}
